<div class="title"><p>基本信息</p></div>
<% remote_form_for :valleyer,
  :update => :personal,
  :url => valleyers_show_personal_infos_show_base_info_url(@valleyer),
  :method => :put,
  :html => {
  :id => 'edit_valleyer_form'
} do |f| %>
  <div class="message">
    <dl><dt>昵&nbsp;&nbsp;&nbsp;&nbsp;称：</dt><dd><%= @valleyer.nick_name %></dd></dl>
    <dl><dt>性&nbsp;&nbsp;&nbsp;&nbsp;别：</dt><dd><%= f.radio_button :sex, 'unknown' %><%= t :'unknown' %>&nbsp;<%= f.radio_button :sex, 'man' %><%= t :'man' %>&nbsp;<%= f.radio_button :sex, 'woman' %><%= t :'woman' %></dd></dl>
    <dl><dt>生&nbsp;&nbsp;&nbsp;&nbsp;日：</dt><dd>&nbsp;&nbsp;<%= f.date_select :birthday, :start_year => 1910, :use_month_numbers => true, :order => [:year, :month, :day] %></dd></dl>
    <dl><dt>星&nbsp;&nbsp;&nbsp;&nbsp;座：</dt><dd><%= f.text_field :constellation, :class => 'text' %></dd></dl>
    <dl><dt>家&nbsp;&nbsp;&nbsp;&nbsp;乡：</dt><dd><%= f.text_field :hometown, :class => 'text' %></dd></dl>
    <dl><dt>所&nbsp;在&nbsp;地：</dt><dd><%= f.text_field :seat, :class => 'text' %></dd></dl>
    <dl><dt>电子邮箱：</dt><dd><%= f.text_field :email, :class => 'text' %></dd></dl>
    <div class="button">
      <%= link_to_function image_tag('valleyer/submit_1.jpg'), '$("edit_valleyer_form").onsubmit()' %>
      <%= link_to_remote image_tag('valleyer/cancel.jpg'),
        :update => :personal,
        :url => valleyers_show_personal_infos_show_base_info_url(@valleyer),
        :method => :get
      %>
    </div>
  </div>
<% end %>